/*
 * DailyQuotationContract.java
 * business
 *
 * Created by ChenTao on 2017/6/5.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.dailyquotation;

import com.yidiandao.business.base.BasePresenter;
import com.yidiandao.business.base.BaseView;
import com.yidiandao.business.data.bean.ShareEntity;
import com.yidiandao.business.interfaces.LoadMoreListener;
import com.yidiandao.business.interfaces.RefreshLayoutStateListener;
import com.yidiandao.business.interfaces.RefreshListener;

import java.util.List;

public class DailyQuotationContract {

    interface Presenter extends BasePresenter {

        void loadDailyData(boolean isRefreshing);

        ShareEntity getShareEntity();
    }

    interface View extends BaseView<Presenter>,RefreshLayoutStateListener,LoadMoreListener,RefreshListener {

        void shareDailyQuotation(ShareEntity shareEntity);

        void setItems(List<Object> objects);
    }

}
